package errors

import (
	e "errors"
)

const (
	MSG_Mbr_Add_Error                           = `注册中出现异常`
	MSG_Mbr_Exists                              = `手机号已经注册`
	MSG_Mbr_Invalid_Inviter                     = `无效的邀请人`
	MSG_Mbr_Invalid                             = `无效的会员`
	MSG_Mbr_Invalid_Phone                       = `无效的手机号`
	MSG_Mbr_Invalid_VerifyCode                  = `无效的验证码`
	MSG_Mbr_Too_Many_Try_VerifyCode             = `当天发送短信验证超过上限`
	MSG_Mbr_Passwd_Too_Short                    = `密码太短`
	MSG_Mbr_Close_Member_Fail                   = `用户注销失败`
	MSG_Mbr_Password_Too_Simple                 = "密码至少8位，且至少包含数字和字母组合"
	MSG_Mbr_Too_Many_Login_Failed               = "登录重试太多，请在30分钟后重试"
	MSG_Mbr_VerifyCode_Send_Less_Than_5_Min     = `5分钟内验证码只允许发送一次`
	MSG_Mbr_Login_Error                         = `登陆中出现异常，稍后再试`
	MSG_Mbr_Invalid_Pwd_Or_Phone                = `手机号不存在或密码错误`
	MSG_Mbr_Invalid_MemberType                  = `不支持的用户类型`
	MSG_Mbr_Invalid_ID_Card_No                  = `不合法的身份证号`
	MSG_Mbr_Get_Error                           = `获取用户信息出错`
	MSG_Mbr_Find_Passwd_Error                   = `找回密码失败`
	MSG_Mbr_Find_Passwd_Error_By_Same_Value     = `找回密码失败，可能原因是新密码和原密码一致！`
	MSG_Mbr_Upd_Passwd_Error                    = `更新密码不成功，未能提供正确的原始密码！`
	MSG_Mbr_Upd_Name_Or_IDCardNo_Error          = `用户名或身份证更新失败`
	MSG_Mbr_Send_SMS_Failed                     = `验证码发送失败`
	MSG_Mbr_Get_Carrier_Owner_Error             = `获取车主资料失败`
	MSG_Mbr_Get_Cargo_Owner_Error               = `获取车主资料失败`
	MSG_Mbr_Get_Auth_State_Error                = `获取认证级别失败`
	MSG_Mbr_Upd_Carrier_Owner_Error             = `完善车主信息失败`
	MSG_Mbr_Upd_Cargo_Owner_Error               = `完善货主信息失败`
	MSG_Mbr_Upd_Info_Not_Allowed                = `请先完成企业认证`
	MSG_Mbr_Add_Role_Error                      = `角色生成失败`
	MSG_Mbr_Add_Role_Not_Allowed                = `请先上传个人身份证正反面`
	MSG_Mbr_Only_Cargo_Owner_Can_Make_Waybill   = `您的货主身份证在认证中，暂不能下单`
	MSG_Mbr_Only_Carrier_Owner_Can_Make_Waybill = `请点击“我”—“认证”，补全您的认证信息。通过后即可接单！`
	MSG_Image_Invalid_Type                      = `无效的图片类型`
	MSG_Image_Upload_Error                      = `图片上传失败，如果是认证照片，请确认是否已经通过认证！`
	MSG_Audio_Upload_Error                      = `音频上传失败`
	MSG_Image_Invalid_Size                      = `无效的图片尺寸`
	MSG_Audio_Invalid_Size                      = `无效的音频尺寸`
	MSG_Image_Invalid_Ext                       = `无效的图片格式`
	MSG_Image_Invalid_Properties                = `无效的图片描述`
	MSG_Image_Not_Found                         = `读取图片失败`
	MSG_Audio_Not_Found                         = `音频读取失败`
	MSG_Logi_Invalid_Start_Area                 = `无效的起点`
	MSG_Logi_Invalid_End_Area                   = `无效的终点`
	MSG_Logi_Invalid_Shipment_Time              = `无效的装车时间`
	MSG_Logi_Carrier_Pub_AddOrUpdate_Error      = `发布中出现异常，请稍后再试或联系客服`
	MSG_Logi_Too_Many_Carrier_Pubs              = `最多同时只能发布3条整车信息`
	MSG_Logi_Get_Carrier_Pub_Error              = `获取整车信息失败`
	MSG_Logi_Get_Carrier_Pub_List_Error         = `获取整车发布列表失败`
	MSG_Logi_Invalid_Pub_Id                     = `无效的整车id`
	MSG_Logi_Invalid_TermOfValidity             = `无效的发布期限`
	MSG_Logi_Line_Pub_Add_Error                 = `专线发布失败`
	MSG_Logi_Line_Pub_Update_Error              = `专线更新失败`
	MSG_Logi_Line_Exists                        = `相同线路的专线已经存在`
	MSG_Logi_Invalid_Line_ID                    = `无效的专线ID`
	MSG_Logi_Invalid_Invoice_Addr_ID            = `无效的发票地址ID`
	MSG_Logi_Too_Many_Invoice_Addrs             = `最多同时只能保存3个发票地址`
	MSG_Logi_Add_Transport_Log_Error            = `记录中发生异常`
	MSG_Logi_Invalid_Transport_Log              = `无效的经纬度坐标`
	MSG_Order_Invalid_Start_Or_End_Area         = `发货起始地或目的地不明确`
	MSG_Order_Invalid_Start_Area                = `发货起始地不符合整车线路计划`
	MSG_Order_Invalid_End_Area                  = `发货目的地不符合整车线路计划`
	MSG_Order_Invalid_Carrier_Pub               = `无效的整车路线`
	MSG_Order_Invalid_Shipment_Time             = `无效的发货时间`
	MSG_Order_Invalid_Arrival_Time              = `无效的到达时间`
	MSG_Order_Arrival_Time_Should_Be_Greater    = `货物到达时间应该比装车时间晚`
	MSG_Order_Invalid_Cargo_Name                = `无效的货物名称`
	MSG_Order_Make_Waybill_Error                = `生成整车运单失败`
	MSG_Order_Deposit_Lt_Zero                   = `无效的运单订金金额`
	MSG_Order_Price_Lt_Zero                     = `无效的运单运费金额`
	MSG_Order_Update_Waybill_Error              = `更新整车运单失败`
	MSG_Order_Invalid_Waybill                   = `无效的整车运单`
	MSG_Order_Invalid_Linebill                  = `无效的专线运单`
	MSG_Order_Get_Waybill_Error                 = `运单查询失败`
	MSG_Order_Invalid_Waybill_ID                = `无效的运单ID`
	MSG_Order_Update_OilCard_Error              = `油卡信息更新失败！`
	MSG_Order_Invalid_Invoice_Corp              = `无效的开票公司`
	MSG_Order_Update_Linebill_Error             = `更新专线运单失败`
	MSG_Order_Upd_Error                         = `处理运单失败`
	MSG_Order_Cancel_Error                      = `取消订单失败`
	MSG_Order_Deposit_Amount_Not_Less_Than      = `订金金额最少不能低于`
	MSG_Order_Price_Amount_Not_Less_Than        = `运费金额最少不能低于`
	MSG_Order_Both_Insurance_Invoice_Required   = `选择发票必须也选择保险`
	MSG_Order_Update_Waybill_Score_Failed       = `评论失败，请重试！`
	MSG_Order_Invoice_Complete_Error            = `发票申请失败`
	MSG_Order_Invoice_Try_Complete_Error        = `运单未完成，无法申请发票`
	MSG_General_Invalid_Ver                     = `无效的版本号.`
	MSG_General_Too_Low_Ver                     = `版本号太低.`
	MSG_General_Invalid_Captcha                 = `无效的图形验证码`
	MSG_INVALID_OFFLINE_PAY                     = `更新运单失败`
	MSG_Pay_Error                               = `支付失败`
	MSG_Pay_Callback_Duplicated                 = `支付重复回调`
	MSG_Pay_Invalid_State                       = `无效的支付状态`
	MSG_Pay_Already_Paid                        = `重复的支付`
	MSG_Pay_Not_Same_Payer                      = `订单与支付必须同一个人`
	MSG_Pay_Get_Bank_Detail_Error               = `获取银行卡明细失败`
	MSG_Pay_Refund_Failed                       = `退款失败`
	MSG_Pay_Deposit_Failed                      = `订金支付失败`
	MSG_Pay_Invalid_Offline                     = `无效的线下支付信息`
	MSG_Pay_Invalid_ID                          = `无效的支付id`
	MSG_Wallet_Get_Error                        = `获取钱包余额失败`
	MSG_Wallet_Change_Pwd_Error                 = `更新钱包密码错误`
	MSG_Wallet_Login_Error                      = `获取钱包失败`
	MSG_Wallet_Create_Error                     = `添加钱包出错，可能钱包已经存在`
	MSG_Wallet_Withdraw_Error                   = `余额提现出现异常`
	MSG_Wallet_Less_Than_Min_Withdraw_Amount    = `提现金额不能低于50元`
	MSG_Wallet_Not_Enough_Balance_To_Pay        = `钱包余额不足，无法支付`
	MSG_Wallet_Not_Enough_Balance_To_Widthdraw  = `钱包余额不足，无法提现`
	MSG_Wallet_Invalid_Pwd                      = `错误的支付密码`
	MSG_Wallet_TopUp_Amount                     = `无效的充值金额`
	MSG_Wallet_Invalid_Bank_Card                = `无效的银行卡，无法提现！`
	MSG_Wallet_Invalid_Token                    = `无效的钱包登录token`
	MSG_Wallet_Bind_Card_Error                  = `绑卡出现错误`
	MSG_Wallet_Get_Detail_List_Error            = `获取钱包明细出错`
	MSG_Social_Send_Message_Error               = `消息发送失败`
	MSG_Social_Invalid_Message                  = `无效的消息`
)

func New(text string) error {
	return e.New(text)
}
